import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './styles/common.less'
import vuetify from './plugins/vuetify'
import VueCordova from 'vue-cordova'

// import cordovaPlugins from './cordova/cordovaPlugins'

Vue.use(VueCordova)
// Vue.use(cordovaPlugins)
// Vue.prototype.$cordovaPlugins = cordovaPlugins

// 测试的
Vue.cordova.on('deviceready', () => {
  console.log('Cordova : device is ready !')
  console.log('Vue.cordova :', Vue.cordova)
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  vuetify,
  render: h => h(App)
}).$mount('#app')
